package com.corpgovernment.supplier.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class SupplierInfoRequest {
    public interface Frozen{}
    public interface QuerySupportProducts{}
    @NotNull(message = "id不能为空", groups = Frozen.class)
    private Long id;
    @NotBlank(message = "supplierCode不能为空", groups = QuerySupportProducts.class)
    private String supplierCode;
    @NotNull(message = "操作不能为空", groups = Frozen.class)
    private Boolean frozen;
}
